<?php
namespace tp_tools;

Class Filter
{
   public static function phone_number($string){
      $patterns[0] = '/(\-+)/';
      $patterns[1] = '/(\s+)/';
      $string=preg_replace($patterns, '', $string);
      return $string;
   }
}
?>